package com.example.ymm.modules1.service.hl.kq;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.hl.yw.YwApprove;
import com.example.ymm.modules1.entity.my.user.DbApprovalLog;
import com.example.ymm.modules1.entity.my.user.KqApproveLog;
import com.example.ymm.modules1.query.kq.KqApproveLogQueryCriteria;
import java.util.List;

public interface KqApproveLogService extends BaseService<KqApproveLog> {


    TableList<KqApproveLog> list(KqApproveLogQueryCriteria criteria, YmPageDto ymPage);

    List<KqApproveLog> queryAll(KqApproveLogQueryCriteria criteria);

    //查询考勤日期是否 能提起审批
    DbApprovalLog approveCount(KqApproveLogQueryCriteria criteria);


    KqApproveLog getUserIdAndAddDate(String userId,String addDate);

    // 查询 当月 休息记录
    List<KqApproveLog> getXiuxiList(KqApproveLogQueryCriteria criteria);


}
